package pro.shushi.pamirs.hr.core.init;

import pro.shushi.pamirs.boot.base.constants.ViewActionConstants;
import pro.shushi.pamirs.boot.base.ux.annotation.action.UxRoute;
import pro.shushi.pamirs.boot.base.ux.annotation.navigator.UxMenu;
import pro.shushi.pamirs.boot.base.ux.annotation.navigator.UxMenus;
import pro.shushi.pamirs.hr.api.model.biz.BusinessTrip;
import pro.shushi.pamirs.hr.api.model.biz.ExpenseBill;
import pro.shushi.pamirs.hr.api.model.biz.ProjectInfo;
import pro.shushi.pamirs.hr.api.model.eam.BsMtool;
import pro.shushi.pamirs.hr.api.model.eam.BsMtoolMd;
import pro.shushi.pamirs.hr.api.model.eam.EamMtoolMtHd;
import pro.shushi.pamirs.hr.api.model.major.DictionaryType;
import pro.shushi.pamirs.hr.api.model.org.Corporation;
import pro.shushi.pamirs.hr.api.model.org.Employee;
import pro.shushi.pamirs.hr.api.model.stat.DepartmentStaffStat;
import pro.shushi.pamirs.hr.api.pmodel.DepartmentProxy;
import pro.shushi.pamirs.hr.api.pmodel.eam.EamUkHdMtoolProxy;

@UxMenus public class HrSimpleMenus implements ViewActionConstants {

    @UxMenu("组织管理")
    class HrOrgMenu {
        @UxMenu("企业管理") @UxRoute(Corporation.MODEL_MODEL) class CompanyMenu { }
        @UxMenu("部门管理") @UxRoute(DepartmentProxy.MODEL_MODEL) class DepartmentProxyMenu { }
        @UxMenu("员工管理") @UxRoute(Employee.MODEL_MODEL) class EmployeeMenu { }
    }

    @UxMenu("基础数据")
    class HrBaseMenu {
        @UxMenu("数据字典") @UxRoute(DictionaryType.MODEL_MODEL) class DictionaryTypeMenu { }
        @UxMenu("项目信息") @UxRoute(ProjectInfo.MODEL_MODEL) class ProjectInfoMenu { }
    }

    @UxMenu("出差管理")
    class HrTripMenu {
        @UxMenu("出差申请") @UxRoute(BusinessTrip.MODEL_MODEL) class BusinessTripMenu { }
        @UxMenu("费用报销") @UxRoute(ExpenseBill.MODEL_MODEL) class ExpenseBillMenu { }
    }

    @UxMenu("数据统计")
    class HrStaticsMenu {
        @UxMenu("部门人员统计(异步)") @UxRoute(DepartmentStaffStat.MODEL_MODEL) class DepartmentStaffStatMenu { }
    }

    @UxMenu("工装管理")
    class HrMtoolMenu {
        @UxMenu("工装型号维护") @UxRoute(BsMtoolMd.MODEL_MODEL) class BsMtoolMdMenu { }
        @UxMenu("工装信息维护") @UxRoute(BsMtool.MODEL_MODEL) class BsMtoolMenu { }
        @UxMenu("工装保养项维护") @UxRoute(EamMtoolMtHd.MODEL_MODEL) class EamMtoolMtHdMenu { }
        @UxMenu("工装保养单维护") @UxRoute(EamUkHdMtoolProxy.MODEL_MODEL) class EamUkHdMtoolProxyMenu { }
    }

    /*** 把系统的菜单加入到业务系统中
    @UxMenu("管理中心")
    class ManageCenterMenu {
        @UxMenu("用户") @UxRoute(model = PamirsUser.MODEL_MODEL) class PamirsUserMenu {}

        @UxMenu("角色管理")
        @UxRoute(model = AuthRole.MODEL_MODEL, viewName = "AuthRoleTable")
        class RoleManagement {
        }
        @UxMenu("系统权限")
        @UxRoute(model = AuthGroupSystemPermissionProxy.MODEL_MODEL, viewName = "AuthGroupSystemPermission")
        class SystemPermission {
        }
    }**/

}